﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using CSM.Models;

namespace CSM.Views.Management
{
    public partial class Detail : System.Web.UI.Page
    {
        CustomDataContext db = new CustomDataContext();
        protected void Page_Load(object sender, EventArgs e)
        {
            string userid=Request.QueryString["id"].ToString();
            var query = (from a in db.TCsm_JS_User where a.UserID == userid select a).Single();
            string result = query.UserID+ "/" + query.UserName;
            Response.Clear();
            Response.ContentType = "application/text";
            Response.Write(result);
            Response.End();
        }
    }
}
